/* ======================================== */
/* CHANGE BY VISHAL - Professional Marquee Effect START */
/* ======================================== */

/* === 1. Main Wrapper - No Padding === */
.tech-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0 !important;  /* ← Margin 0 */
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    border-top: 1px solid rgba(83, 158, 16, 0.1);
    border-bottom: 1px solid rgba(83, 158, 16, 0.1);
}

/* === 2. Gradient Overlays for Smooth Fade === */
.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

/* === 3. Track with Smoother Animation === */
.tech-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tech-marquee-scroll 30s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    will-change: transform;
    padding: 10px 0;  /* Thoda vertical padding for breathing space */
}

/* === 4. Individual Items with Hover Effects === */
.tech-marquee-track .marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 35px;  /* Reduced vertical padding */
    margin: 0 !important;
    transition: all 0.3s ease;
    position: relative;
}

/* Item Hover Effect - Scale + Shadow */
.tech-marquee-track .marquee-item:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 4px 12px rgba(83, 158, 16, 0.25));
}

/* === 5. Image Styling - Professional Look === */
.tech-marquee-track .marquee-item img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(20%) brightness(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image Hover - Colorful + Glow */
.tech-marquee-track .marquee-item:hover img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}

/* === 6. Divider Dots Between Items === */
.tech-marquee-track .marquee-item::after {
    content: '•';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    color: #539E10;
    font-size: 8px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.tech-marquee-track .marquee-item:last-child::after {
    display: none;
}

.tech-marquee-track .marquee-item:hover::after {
    opacity: 0.8;
}

/* === 7. Smooth Animation with Easing === */
@keyframes tech-marquee-scroll {
    from {
        transform: translateX(0) scale(1);
    }
    to {
        transform: translateX(-50%) scale(1);
    }
}

/* === 8. Pause on Hover - Professional === */
.tech-marquee-wrapper:hover .tech-marquee-track {
    animation-play-state: paused;
}

/* === 9. Remove Extra Container Margins === */
.logo_slider {
    margin: 0 !important;
    padding: 0 !important;
}

.clients-area {
    padding: 0 !important;  /* Override inline style */
}

/* === 10. Mobile Responsive === */
@media (max-width: 767px) {
    .tech-marquee-wrapper::before,
    .tech-marquee-wrapper::after {
        width: 40px;
    }
    
    .tech-marquee-track .marquee-item {
        padding: 3px 15px;
    }
    
    .tech-marquee-track .marquee-item img {
        max-height: 32px;
    }
    
    .tech-marquee-track .marquee-item::after {
        font-size: 6px;
        right: -1px;
    }
    
    .tech-marquee-track {
        animation-duration: 18s;
        padding: 5px 0;
    }
}

/* === 11. Tablet Responsive === */
@media (min-width: 768px) and (max-width: 991px) {
    .tech-marquee-wrapper::before,
    .tech-marquee-wrapper::after {
        width: 60px;
    }
    
    .tech-marquee-track .marquee-item {
        padding: 4px 25px;
    }
    
    .tech-marquee-track .marquee-item img {
        max-height: 42px;
    }
}

/* ======================================== */
/* CHANGE BY VISHAL - Professional Marquee Effect END */
/* ======================================== */